home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 210 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.3 KB

  1. From: marek@iiasa.ac.at (Marek  MAKOWSKI)
  2. Message-ID: <1996Feb1.092058.4745@iiasa.ac.at>
  3. X-Original-Date: Thu, 1 Feb 1996 09:20:58 GMT
  4. Path: in1.uu.net!bounce-back
  5. Date: 01 Feb 96 15:50:32 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Newsgroups: comp.std.c++
  8. Subject: #ifdef XXXX  
  9. Organization: IIASA, Laxenburg, Austria
  10. X-Newsreader: TIN [version 1.2 PL2]
  11. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  12.     iQBFAgUBMRDhbOEDnX0m9pzZAQHonwF9G+L60ZBsMFhOpfo6Uc1FAMOveXZ1oU7q
  13.     PleKAcK2fCoceAR5VPuFDZ920foB+s0P
  14.     =YjVW
  15.  
  16. Would not it be sensible to add to the preprocessing a directive
  17. that would stop processing the current file ? Something like
  18.  
  19. #ifdef XXXX
  20. #exit
  21.  
  22. this would safe processing (sometimes very long) file in the common
  23. situations:
  24.  
  25. #ifdef XXXX
  26. // a (possibly) long header file hear
  27. #endif  /* ifdef XXXX*/
  28.  
  29. Marek Makowski
  30.  
  31. -- 
  32.                   Marek Makowski  | Email: marek@iiasa.ac.at
  33.          International Institute  | Phone: (+43-2236) 807.561
  34.     for Applied Systems Analysis  | Fax:   (+43-2236) 71.313
  35.        A-2361 Laxenburg, Austria  | Web: http://www.iiasa.ac.at
  36. ---
  37. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  38.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  39.   is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
  40.